var mail = require("./mail");
var sc = new mail.SmtpClient("202.108.3.190"); //host[,port,ifssl]
//sc = new mail.SmtpClient("x.x.x.x", 465, true);

sc.auth("xxxxx", "xxxx")
sc.sendTo(["xxx@xxx", "xxx@xxx", "xxx@xxx"])
sc.from("xxx@xxx")
sc.data("From: FuLi <perfectrobin@sina.com>\r\n" + "Subject: Smtp Client implementation\r\n" + "To: xxx@xxx.xx\r\n" + "Content-type: text/html\r\n" + "Content-transfer-encoding: 8BIT\r\n<h1>This is a javascript implemented smtp client</h1>")
sc.send()